﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace bai4_
{
    class Crec
    {
        int w, h;
        public Crec(int a, int b)
        {
            w = a;
            h = b;
        }
        public int area()
        {
            return (w * h);
        }
    }
    class Program
    {
        static void Main(string[] agre)
        {
            Crec recta = new Crec(3, 4);
            Crec rectb = new Crec(5, 6);
            Console.WriteLine("recta.{0}", recta.area());
            Console.WriteLine("rectb.{0}", rectb.area());
        }
    }
}